.class Lcom/waiqin365/lightapp/im/activity/bk;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->k(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->k(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/domain/a;

    iput v2, v0, Lcom/waiqin365/lightapp/im/domain/a;->c:I

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->k(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/domain/a;

    const/4 v1, 0x1

    iput v1, v0, Lcom/waiqin365/lightapp/im/domain/a;->c:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->l(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->k(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/domain/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/domain/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->k(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/domain/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/domain/a;->b:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->c(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->a(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->m(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Lcom/waiqin365/lightapp/im/adapter/ao;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/ao;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/bk;->a:Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;->n(Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;)Lcom/waiqin365/lightapp/view/ag;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    return-void
.end method
